import { RoutesAlias } from '@/router/routesAlias'
import { AppRouteRecord } from '@/types/router'

const meta = {}

const pre = 'gongYiGuanLi/zhiLiangGuanLi-'

export default {
  path: '/gongYiGuanLi/zhiLiangGuanLi',
  name: 'zhiLiangGuanLi',
  redirect: {
    name: `${pre}yiQiWeiHu`
  },
  meta: { ...meta, title: '质量管理' },
  component: RoutesAlias.Home,
  children: [
    {
      path: 'yiQiWeiHu',
      name: '62100',
      meta: {
        ...meta,
        title: '仪器维护'
      }
      // component: () => import('@/pages/gongYiGuanLi/zhiLiangGuanLi/yiQiWeiHu')
    },
    {
      path: 'zhiBiaoWeiHu',
      name: '62200',
      meta: {
        ...meta,
        title: '指标维护'
      }
      // component: () => import('@/pages/gongYiGuanLi/zhiLiangGuanLi/zhiBiaoWeiHu')
    },
    {
      path: 'biaoZhunWeiHu',
      name: '62300',
      meta: {
        ...meta,
        title: '标准维护'
      }
      // component: () => import('@/pages/gongYiGuanLi/zhiLiangGuanLi/biaoZhunWeiHu')
    },
    {
      path: 'zhiLiangWenTiDengJi',
      name: '62400',
      meta: {
        ...meta,
        title: '质量问题登记'
      }
      // component: () => import('@/pages/gongYiGuanLi/zhiLiangGuanLi/zhiLiangWenTiDengJi')
    },
    {
      path: 'ziNengFenXi',
      name: '62500',
      meta: {
        ...meta,
        title: '智能分析'
      }
      // component: () => import('@/pages/gongYiGuanLi/zhiLiangGuanLi/ziNengFenXi')
    },
    {
      path: 'guanShaZhiLiang',
      name: '62600',
      meta: {
        ...meta,
        title: '管纱在线质量'
      }
      // component: () => import('@/pages/gongYiGuanLi/zhiLiangGuanLi/guanShaZhiLiang')
    },
    {
      path: 'zhiLiangBaoGao',
      name: '62800',
      meta: {
        ...meta,
        title: '质量报告'
      }
      // component: () => import('@/pages/gongYiGuanLi/zhiLiangGuanLi/zhiLiangBaoGao')
    },
    {
      path: 'zhiLiangZhuiSuo',
      name: '62900',
      meta: {
        ...meta,
        title: '质量追溯'
      }
      // component: () => import('@/pages/gongYiGuanLi/zhiLiangGuanLi/zhiLiangZhuiSuo')
    }
  ]
} as AppRouteRecord
